<{include file="admin/public/header.tpl"}>
		<div id="main">
			<div class="head-dark-box">
				<div class="tit">系统管理>友情链接管理>管理友情连接</div>
			</div>	
		    <{ include file="admin/public/title.tpl" }>
		    <form  method="post" action="admin.php?m=flink&a=order&page=<{$page}>" >
			<div class="msg-box">
				<ul class="viewmess">
					<li class="dark-row">
						<span class="list_width width_font">网站名称</span>
						<span class="list_width width_font" style="width:200px">网站地址</span>
						<span class="list_width width_font">添加时间</span>
						<span class="list_width width_font">操&nbsp;&nbsp;作</span>
					</li>
				        <{ section name=doc loop=$links }>
						<li class="light-row" style="padding-top:2px; padding-bottom:2px">
							<span class="list_width"><input type="text" name="linkOrder[]" style="width:20px" maxlength="3" value="<{ $links[doc].ord }>">&nbsp;<{ $links[doc].webName }></span>
							<input type="hidden" name="linkIds[]" value="<{ $links[doc].id }>">
							<span class="list_width" style="width:200px"><{ $links[doc].url }></span>
							<span class="list_width"><{ $links[doc].dtime|date_format:"%Y-%m-%d" }></span>
				
							<span class="list_width" style="width:160px;">
						
							【<a href="admin.php?m=flink&a=mod&id=<{ $links[doc].id }>">修改</a>】
							【<a onclick="return confirm('确定要删除友情链接<{ $links[doc].webName }>吗？')" href="admin.php?m=flink&a=del&page=<{$page}>&id=<{ $links[doc].id }>">删除</a>】
							</span>
						</li>
					<{ sectionelse }>
						<li class="light-row">
							没有添加任何友情链接
						</li>
					<{ /section }>
				
					<li class="dark-row">
						<span class="col_width" style="margin-left:20px;width:240px"> 
							<input class="button" name="order" type="submit" value="改变显示顺序">
						 </span> 
						<span class="right">
							<{$fpage}>
						</span>
					</li>
				</ul>	
			</div>
                    </form>
		</div>

<div id="timer">
	<p><span class="exetime">当前脚本执行用时</span><span class="red_font"><{ $timer }></span>秒&nbsp;</p>	
</div>
<{include file="admin/public/footer.tpl"}>	


